package com.itita.weibo.ui;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import com.itita.weibo.manager.IWeiboActivity;

public class ListMyTopicsActivity extends Activity implements IWeiboActivity{
    
	private View vTitle;
	
	private Button btnReturn;

	private Button btnHome;

	private TextView tvTitle;
	
//	private TextView tvTitle;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		this.requestWindowFeature(Window.FEATURE_NO_TITLE);
		this.setContentView(R.layout.list_my_topics);
		this.initControlsAndAddControlsEvent();
	}
	
	public void initControlsAndAddControlsEvent() {
		 this.vTitle = this.findViewById(R.id.title4ListMyTopics);
		
		 this.tvTitle = (TextView)this.vTitle.findViewById(R.id.textView);
		 this.tvTitle.setText(R.string.topic);
		 
//		 final ImageView imageViewTitle = (ImageView) vTitle.findViewById(R.id.imageViewTitle);
//		 imageViewTitle.setImageResource(R.drawable.title_topics);
		 
		 this.btnReturn = (Button) this.vTitle.findViewById(R.id.title_bt_left);
		 this.btnHome = (Button) this.vTitle.findViewById(R.id.title_bt_right);

		 this.btnReturn.setText(R.string.imageviewer_back);
		 this.btnHome.setBackgroundResource(R.drawable.title_home);
		
	}
	@Override
	public void init() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void refresh(Object... param) {
		// TODO Auto-generated method stub
		
	}

}
